package com.qianya.system.face.web.patient.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qianya.model.common.BaseEntity;
import com.qianya.system.face.web.patient.model.PatientBoxRelevance;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qianya.model.common.CommonResult;
import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
* <p>
    *  患者绑定发药柜 服务类
    * </p>
* @author lhl
* @since 2020-07-22
*/
public interface IPatientBoxRelevanceService extends IService<PatientBoxRelevance> {
        CommonResult find(PatientBoxRelevance patientBoxRelevance);
        CommonResult renewal(PatientBoxRelevance patientBoxRelevance,HttpServletRequest request);
        CommonResult create(PatientBoxRelevance patientBoxRelevance,HttpServletRequest request);
        int eatExceptionCount();
        //List<> get();
        CommonResult eatException();
        CommonResult takeMedicineRecode(int pageNo,int pageSize,String fileIdentityCard);

         CommonResult takeMedicineCalendarRecode(String fileIdentityCard);

         CommonResult cancelWarning(String brId);
}
